package com.chengwei.ch.busdemo.hermes.contract

/**
 * 推送接口回调
 * @author zdk
 * @date 2019/12/20
 */
interface OnUnSubscribeListener {
    /** 主题退订成功[subTopic]，消息[msg] */
    fun unSubscribeSuccess(topic: String)

    /** 主题订阅失败，主题名称[topic]，异常[cause] */
    fun unSubscribeFailure(topic: String, cause: Throwable)
}